package com.springloadfactory;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;

/**
 * @author fanxiao  2022/2/17
 * @since 1.0.0
 */
@Slf4j
public class FooImpl implements Foo {

	@Autowired
	@Qualifier("eooImpl")
	Eoo eoo;

	@Autowired
	@Qualifier("eoo1Impl")
	Eoo eoo1;

	@Override
	public void foo() {
		log.info("FooImpl ...");
		eoo.eoo();
		eoo1.eoo();
	}
}